using Newtonsoft.Json;
using AdminApiTemplate.Common.Helpers;

namespace AdminApiTemplate.Cache
{
    public class CacheHelper
    {
        /// <summary>
        /// 默认数据库查询
        /// </summary>
        public static MySqlHelper DefaultQuery { get; set; }

        /// <summary>
        /// 排除null值json序列化配置
        /// </summary>
        public static readonly JsonSerializerSettings ExcludeNullJsonConfig = new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore };
    }
}
